package com.example.boot2mybatis;

import org.mybatis.spring.annotation.MapperScan;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication(scanBasePackages={"com.example.boot2mybatis"})
@MapperScan("com.example.boot2mybatis.mapper")
@EnableAsync
public class Boot2MysqlMybatisApplication {
    public static void main(String[] args) {
       SpringApplication.run(Boot2MysqlMybatisApplication.class, args);
        System.out.println("启动成功。。。。。。");
    }

}
